/*
 * @Description: 
 * @Author: mmzhang
 * @Date: 2022-04-15 11:10:23
 * @LastEditTime: 2022-11-17 15:01:29
 */

import table from '@/components/dt/table/render.js'
import nameOpt from '@/biz/option/name.js'
import dateOpt from '@/biz/option/date.js'
import Opt from '@/components/dt/info/Opt.js'
import ruleOpt from '@/biz/option/rule.js'
import dt from '@dt/dt'

let _this = null
class ParamsDate {
  constructor(vm) {
    this.opts = {}
    _this = vm
    this.build()
  }
  build() {
    this.opts = {
      options: [
      {
        title: '认购日期',
        desc: '显示“认购日期”在所选日期范围内的认购单',
        showText: '认购',
        checked: true,
        key: '1'
      },
      {
        title: '退购日期',
        desc: '显示“退购日期”在所选日期范围内的认购单',
        showText: '退购',
        checked: true,
        key: '2'
      },
      {
        title: '退签日期',
        desc: '显示“退签日期”在所选日期范围内的认购单',
        showText: '退签',
        checked: true,
        key: '3'
      }],
      dateList: [
      {
        title: '昨日',
        key: 0
      }, {
        title: '今日',
        key: 1
      }, {
        title: '本周',
        key: 2
      }, {
        title: '本月',
        key: 3
      }, {
        title: '本年',
        key: 4
      }],
      checkIndex: 3,
      containDate: ['1', '2', '3'],
      tips: '设置后，将在订单列表中，显示您所选日期范围内产生认购、退购或退签的认购单'
    }
  }
  options() {
    return this.opts
  }
}

export default ParamsDate